package vip.mall.modular.goods.params;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 田连印
 * @Date 2025/2/10 17:41
 * @Descripition 商品添加参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "商品添加参数")
public class AddGoods {
    @Schema(description = "商品名字")
    private String goodsName;
    @Schema(description = "商品描述")
    private String goodsDesc;
    @Schema(description = "商品价格")
    private double goodsPrice;
    @Schema(description = "商品图片")
    private String goodsImg;
    @Schema(description = "商品所属类目id")
    private String typeId;
    @Schema(description = "商品总库存")
    private Integer stockNum;
    @Schema(description = "商品状态，1表示正在出售，2表示已经售空，3表示已经下架")
    private Integer goodsStatus;
}
